
Pod::Spec.new do |s|

  s.name         = "JPProjectConfigure"

  s.version      = "3.2.0"

  s.summary      = "删除webController"

  s.description  = <<-DESC
            JPProjectConfigure是项目的配置信息类,包含了基类和一些常用的常量、分类等信息
                   DESC

  s.homepage     = "https://gitee.com/singleCarpenter/JPProjectConfigure"

  s.license      = { :type => "MIT", :file => "LICENSE" }

  s.author       = { "Carpenter" => "158287481@qq.com" }

  s.platform     = :ios, "8.0"

  s.source       = { :git => "git@gitee.com:singleCarpenter/JPProjectConfigure.git", :tag => s.version }

  s.public_header_files = "JPProjectConfigure/JPProjectConfigure.h"

  s.source_files  = "JPProjectConfigure/JPProjectConfigure.h"

  s.resources     = 'JPProjectConfigure/Resource/*.bundle'

  s.frameworks    = "UIKit", "Foundation"

  s.requires_arc = true

  s.dependency 'NullSafe'

  s.subspec 'BaseClass' do |ss|

     ss.source_files = 'JPProjectConfigure/Base/*.{h,m,bundle}'
#,'JPProjectConfigure/Category/UIImage+JPImage.{h,m}'

     ss.public_header_files = 'JPProjectConfigure/Base/*.h'

     ss.dependency 'Masonry'
     ss.dependency 'SDWebImage'
     ss.dependency 'Aspects'
     ss.dependency 'DZNEmptyDataSet'
     ss.dependency 'ReactiveObjC'
     ss.dependency 'HYBMasonryAutoCellHeight'
     ss.dependency 'FDFullscreenPopGesture'
     ss.dependency 'JPProjectConfigure/Category'
  end

  s.subspec 'Category' do |ss|

     ss.source_files = 'JPProjectConfigure/Category/{*}+{*}.{h,m}'

     ss.public_header_files = 'JPProjectConfigure/Category/{*}+{*}.h'

     ss.frameworks = 'CoreText'

     ss.dependency 'SDWebImage'

     ss.dependency 'ZYCornerRadius'

     ss.dependency 'MJExtension'

  end

  s.subspec 'Constant' do |ss|

     ss.source_files = 'JPProjectConfigure/Macro/*.h'

     ss.public_header_files = 'JPProjectConfigure/Macro/*.h'

  end

  s.subspec 'JPTool' do |ss|

      ss.source_files = 'JPProjectConfigure/Tool/*.{h,m}'

      ss.public_header_files = 'JPProjectConfigure/Tool/*.h'

   end
 
  s.subspec 'RequestService' do |ss|

     ss.source_files = 'JPProjectConfigure/Net/*.{h,m}'

     ss.public_header_files = 'JPProjectConfigure/Net/*.h'

     ss.dependency 'AFNetworking'
     ss.dependency 'ReactiveObjC' 

  end

end

